pp108 : Statusbar (Objects)

Statusbar (Objects)


The Statusbar control is used to display status information on an XForm. You can add only one Statusbar control to an XForm.

After adding it to an XForm, you can divide the statusbar into different panels using the Add Panel context-menu option, if required. This control is derived from the AJAX Toolkit library - Statusbar. For details about the control's behavior and functionality, see Statusbar.

Properties, Events, and Methods of the Control


The properties, events, and methods associated with the Statusbar control define its behavior. You can set them either through the control's property sheet or programmatically using the APIs. For details, see Statusbar.

The following XForms-related property and methods are available for the control:

Table 1. List of Properties

Design-time property

Run-time property

Description

ID

Sets the string that identifies the control on an XForm. If not specified, a unique ID is automatically generated.


Table 2. List of Methods

Method

Description

addListener(sEventName, fpFunction)

This method registers a function to an event, such that the function gets called when the event is fired on the control.

removeListener(sEventName, fpFunction)

This method unregisters a function from an event, such that the function stops getting called when the event is fired on the control.